package com.aoptest2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author laijianbo 2014-7-4
 */
public class Debug {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("springContext.xml");
//		IIBaseBusiness businessIII = (IIBaseBusiness) context.getBean("baseBusinessIII");
//		IBaseBusiness business = (IBaseBusiness) context.getBean("baseBusiness");
		BaseBusiness business = (BaseBusiness) context.getBean("baseBusiness");
		business.delete("猫");
//		businessIII.delete("GOGOGOGOOG");
	}

}
